CVE-2025-39973
i40e: add validation for ring_len param
Description
In the Linux kernel, the following vulnerability has been resolved: i40e: add validation for ring_len param The `ring_len` parameter provided by the virtual function (VF) is assigned directly to the hardware memory context (HMC) without any validation. To address this, introduce an upper boundary check for both Tx and Rx queue lengths. The maximum number of descriptors supported by the hardware is 8k-32. Additionally, enforce alignment constraints: Tx rings must be a multiple of 8, and Rx rings must be a multiple of 32.
INFO
Published Date :
Oct. 15, 2025, 8:15 a.m.
Last Modified :
Oct. 16, 2025, 3:29 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the patch to validate the ring_len parameter.
- Ensure Tx rings are a multiple of 8.
- Ensure Rx rings are a multiple of 32.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-39973
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-39973
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-39973
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-39973
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-39973
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: i40e: add validation for ring_len param The `ring_len` parameter provided by the virtual function (VF) is assigned directly to the hardware memory context (HMC) without any validation. To address this, introduce an upper boundary check for both Tx and Rx queue lengths. The maximum number of descriptors supported by the hardware is 8k-32. Additionally, enforce alignment constraints: Tx rings must be a multiple of 8, and Rx rings must be a multiple of 32. Added Reference https://git.kernel.org/stable/c/0543d40d6513cdf1c7882811086e59a6455dfe97 Added Reference https://git.kernel.org/stable/c/05fe81fb9db20464fa532a3835dc8300d68a2f84 Added Reference https://git.kernel.org/stable/c/45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985 Added Reference https://git.kernel.org/stable/c/55d225670def06b01af2e7a5e0446fbe946289e8 Added Reference https://git.kernel.org/stable/c/7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9 Added Reference https://git.kernel.org/stable/c/afec12adab55d10708179a64d95d650741e60fe0 Added Reference https://git.kernel.org/stable/c/c0c83f4cd074b75cecef107bfc349be7d516c9c4 Added Reference https://git.kernel.org/stable/c/d3b0d3f8d11fa957171fbb186e53998361a88d4e